home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / oper_sys / presto / prest1_0.lha / Tests / runtests.mips < prev    next >
Text File  |  1991-12-11  |  278b  |  21 lines

  1. #! /bin/sh
  2.  
  3. TESTS="exer burner fork"
  4.  
  5. for test in $TESTS
  6. do
  7.     cd $test
  8.     if [ -r ./runtests ] ; then 
  9.         ./runtests
  10.         status=$?
  11.     else
  12.            $test
  13.         status=$?
  14.     fi
  15.     if [ $status -eq 0 ] ; then
  16.         echo "\"$test\" completed successfully."
  17.     else
  18.         echo "\"$test\" failed."
  19.     fi
  20.     cd ..
  21. done